BASE_DIR = ../..
include $(BASE_DIR)/include.mak

TARGET_LIB = ../lib/libPSPApp.a

OBJS =  PSPApp.o PSPThread.o PSPUSBStorage.o \
		PSPApp_Network.o PSPEventQ.o  PSPKeyHandler.o \
		PSPStream.o httpget.o bstdfile.o \
		PSPSoundBuffer.o \
		PSPSound.o PSPSoundDecoder.o \
		PSPSoundDecoder_MAD.o \
		PSPSoundDecoder_OGG.o \
		ID3Parser.o PRXLoader.o 

INCDIR = ../libpspnet ../Logging $(BASE_DIR)/OE_SDK/include
CFLAGS = $(GLOBAL_CFLAGS) -G0 -O0 -Wall -Werror -g -D__PSP__ -D_NO_INIT_
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =
LIBS = -lpspaudiolib -lpspaudio -lPSPNet -llogging -lpspkubridge

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
